define(function () {
    'use strict';
    
    let name = 'A模块';
    const sum = function sum(...params) {
        let len = params.length;
        if (len === 0) return 0;
        if (len === 1) return params[0];
        return params.reduce((res, item) => res + item);
    };

    /* 暴露API */
    return {
        sum
    };
});